package com.api.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_user")
public class SysUser {
    @TableId(type = IdType.AUTO)
    @JsonFormat(shape =JsonFormat.Shape.STRING)
    @TableField("user_id")
    private Long UserId;
    @JsonFormat(shape =JsonFormat.Shape.STRING)
    @TableField("dept_id")
    private Long DeptId;
    @TableField("user_name")
    private String UserName;
    @TableField("nick_name")
    private String NickName;
    @TableField("user_type")
    private String UserType;
    @TableField("email")
    private String Email;
    @TableField("phonenumber")
    private String Phonenumber;
    @TableField("sex")
    private String Sex;
    @TableField("avatar")
    private String Avatar;
    @TableField("password")
    private String Password;
    @TableField("status")
    private String Status;
    @TableField("del_flag")
    private String DelFlag;
    @TableField("login_ip")
    private String LoginIp;
}
